package boundary;

import java.util.List;

import entity.OperatorDTO;

public interface IUI {
	
	// userId, password
	String[] login();
	
	int userAction();
	int adminAction();
	
	void showOperators(List<OperatorDTO> operators);
	void showOperator(OperatorDTO operator);
	int selectUser();
	
	// name, cpr
	OperatorDTO createOperator();
	// name, cpr, password
	OperatorDTO updateOperator(OperatorDTO opr);
	// old, new, new again
	String[] changePassword();
	// gross, tare
	double[] weightApp();
	void showNetWeight(Double netWeight);
	
	void success(String message);
	void error(String message);

}
